package oop6;

/**
 * @author oldliu
 * @since 1.0
 */
public class Upan implements USB3 {
    @Override
    public void highSpeedTransfer(String data) {
        System.out.println("高速传输数据："+data);
    }

    @Override
    public void plugin() {
        System.out.println("设备接上了");
    }

    @Override
    public void unplug() {
        System.out.println("设备移除了");
    }

    @Override
    public void work() {
        System.out.println("u盘开始工作了");
        plugin();
    }
}
